Customizing the Standalone License File Names

Sentinel RMS reads a number of files to determine which licenses are available and how the License Manager should operate. For standalone applications, these files are:

> lservrc - The license file, which contains one or more license strings.

> lservrccnf - The License Manager configuration file, which contains the License Manager options.

Although, you can change names of these files by using appropriate environment variable(s), it can cause conflict across the system when multiple standalone applications from different vendors are installed and one environment variable setting affects them all. If environment variables aren't used, a different vendor can overwrite the default license file for allowing use of the RMS-licensed application.

To overcome such conflicts, the customization API functions—VLSsetFileName and VLSsetFileNameExt—are provided. These API allow overriding the default license or configuration file path. The VLSsetFileNameExt function, provided since the 9.1 release, is a Unicode variant of VLSsetFileName.

Both the functions should be called before the VLSinitialize function.

NOTE   Both the functions VLSsetFileName and VLSsetFileNameExt allow setting the license or configuration file path in the ASCII format on non-English Windows operating systems.

Executables Need to Rebuild

Client application (follow the build procedure specified in How to Use the custom32.mak File?).

Steps to Perform

>Call the VLSsetFileName \ VLSsetFileNameExt function in client application before the VLSinitialize function call.

>Follow the build procedure specified in How to Use the custom32.mak File?.